package livingarea.other;

/**
 *
 * @author Muzalevskiy Vitaliy
 */
public class Random {
    private double value;
    
    public Random(){
        value = Math.random();
    }
    
    public Random(double value){
        this.value = value;
    }
    
    public double getRandomValue(int maxValue){
        return value*maxValue;
    }
}
